import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { workbenchListComponent } from './workbench-list/workbench-list.component';
import { AuthGuardService } from '@core/auth/auth-guard.service';
import {workbenchEditComponent} from './workbench-list/edit/workbench-edit.component';
import {workbenchrmComponent} from './workbench-list/edit/workbench-rm.component';
import {workbenchrm1Component} from './workbench-list/edit/workbench-rm1.component';
import {workbenchrm2Component} from './workbench-list/edit/workbench-rm2.component';
import {workbenchrm3Component} from './workbench-list/edit/workbench-rm3.component';
import {workbenchrm4Component} from './workbench-list/edit/workbench-rm4.component';
import {workbenchrm5Component} from './workbench-list/edit/workbench-rm5.component';
import {workbenchrm6Component} from './workbench-list/edit/workbench-rm6.component';
import {workbenchrm7Component} from './workbench-list/edit/workbench-rm7.component';


const routes: Routes = [
  {
    path: 'workbench',
    children: [
      { path: '', component: workbenchListComponent },
      { path: 'edit/:id', component: workbenchEditComponent },
      { path: 'rm/:id', component: workbenchrmComponent },
      { path: 'rm1/:id', component: workbenchrm1Component },
      { path: 'rm2/:id', component: workbenchrm2Component },
      { path: 'rm3/:id', component: workbenchrm3Component },
      { path: 'rm4/:id', component: workbenchrm4Component },
      { path: 'rm5/:id', component: workbenchrm5Component },
      { path: 'rm6/:id', component: workbenchrm6Component },
      { path: 'rm7/:id', component: workbenchrm7Component },

    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class workbenchRoutingModule { }
